Upgrading CCC
You have the option to upgrade to CCC 4.2 from the following CCC versions:
-
CCC 4.1
-
CCC 4.0
-
CCC 3.9
-
CCC 3.8.1
-
CCC 3.8
-
CCC 3.7.2
-
CCC 3.7.1
-
CCC 3.7
If you are planning to upgrade to the latest version of CCC, you must back up and restore your current database using the instructions provided in the Migrating Database section. Failure to do so will result in the irreversible loss of your existing database after the upgrade.
After the upgrade process, it has been observed that there may be instances where outdated data is displayed due to caching. To address this, we recommend clearing your browser cache after the upgrade. This proactive step ensures the retrieval of the most up-to-date version of the application.
Upgrading from CCC 4.1 to CCC 4.2
To upgrade CCC from version 4.1 to 4.2, follow these steps based on your environment:
For Podman Users:
Navigate to the podman directory and execute the following command:
podman-compose down
Check if the CCC container is removed using the following command:
podman ps -a
If a container named ccc
appears, execute the command below to remove it:
podman rm -f ccc
Remove the ccc:4.1.0
image from the local repository:
podman rmi -f ccc:4.1.0
Delete the pgdata
directory to ensure that no residual data from the CCC container is left on your system. This directory may contain important data, so make sure you have backed up any necessary files before proceeding. Execute the following command to remove the directory:
sudo rm -rf /home/ccc/pgdata
The sudo
command may be required to gain the necessary permissions to delete the directory.
Follow the installation instructions for CCC 4.2.
For Kubernetes Users:
On the master node, stop the previous CCC container and related resources using the following commands:
kubectl delete -f deployment.yaml
kubectl delete -f service.yaml
kubectl delete -f config-map.yaml
kubectl delete -f lunalogs-volume.yaml
kubectl delete -f postgres-data.yaml
kubectl delete -f packages-volume.yaml
kubectl delete -f serverlogs-volume.yaml
kubectl delete secrets ccc-password
Remove the ccc-4.1.0
image from worker nodes using the following command:
crictl rmi ccc:4.1.0
Delete the pgdata
directory to ensure that no residual data from the CCC container is left on your system. This directory may contain important data, so make sure you have backed up any necessary files before proceeding. Execute the following command to remove the directory:
sudo rm -rf /home/ccc/pgdata
The sudo
command may be required to gain the necessary permissions to delete the directory.
Follow the installation instructions for CCC 4.2.
Upgrading from CCC 4.0 to CCC 4.2
To upgrade CCC from version 4.0 to 4.2, follow these steps based on your environment:
For Podman Users:
Navigate to the podman directory and execute the following command:
podman-compose down
Check if the CCC container is removed using the following command:
podman ps -a
If a container named ccc
appears, execute the command below to remove it:
podman rm -f ccc
Remove the ccc:4.0.0
image from the local repository:
podman rmi -f ccc:4.0.0
Delete the pgdata
directory to ensure that no residual data from the CCC container is left on your system. This directory may contain important data, so make sure you have backed up any necessary files before proceeding. Execute the following command to remove the directory:
sudo rm -rf /home/ccc/pgdata
The sudo
command may be required to gain the necessary permissions to delete the directory.
Follow the installation instructions for CCC 4.2.
For Kubernetes Users:
On the master node, stop the previous CCC container and related resources using the following commands:
kubectl delete -f deployment.yaml
kubectl delete -f service.yaml
kubectl delete -f config-map.yaml
kubectl delete -f lunalogs-volume.yaml
kubectl delete -f postgres-data.yaml
kubectl delete -f packages-volume.yaml
kubectl delete -f serverlogs-volume.yaml
kubectl delete secrets ccc-password
Remove the ccc-4.0.0
image from worker nodes using the following command:
crictl rmi ccc:4.0.0
Delete the pgdata
directory to ensure that no residual data from the CCC container is left on your system. This directory may contain important data, so make sure you have backed up any necessary files before proceeding. Execute the following command to remove the directory:
sudo rm -rf /home/ccc/pgdata
The sudo
command may be required to gain the necessary permissions to delete the directory.
Follow the installation instructions for CCC 4.2.
Upgrading from CCC 3.9 to CCC 4.2:
To upgrade CCC from version 3.9 to 4.2, follow these steps:
Uninstall CCC 3.9 by executing the uninstall.sh
bash file located in the folder /usr/safenet/ccc
:
sh /usr/safenet/ccc/uninstall.sh
Follow the installation instructions for CCC 4.2.
Upgrading CCC from CCC version 3.8 or below to CCC 4.2:
To upgrade CCC from version 3.8 or below to 4.2, follow these steps:
Obtain the distribution package of CCC version 3.9.
Upgrade the current version of CCC to CCC 3.9 by executing the install.sh
bash file from the CCC 3.9 distribution package.
Verify successful installation of CCC 3.9 through the CCC GUI.
Uninstall CCC 3.9 using the uninstall.sh
bash file located in the folder /usr/safenet/ccc
:
sh /usr/safenet/ccc/uninstall.sh
Follow the installation instructions for CCC 4.2.